CXX=g++

CXXFLAGS = -O2 -g -Wall -fmessage-length=0 -std=c++0x

LIBS =

LDFLAGS=-Wl,-rpath -Wl,/usr/local/lib/ -lglog

SRC_PATH = $(PWD)/../src

TARGET = $(SRC)/c++0x-tests

SRC := ${wildcard $(SRC_PATH)/*.cpp}

OBJS :=	${SRC:.cpp=.o}

$(TARGET):	$(OBJS)
	$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS)

all:	$(TARGET)

.PHONY:	clean

clean:
	-rm -f $(OBJS) $(TARGET)
